﻿using Micro.Hosting;

public class Startup : SimpleStartup
{
    public override void Run(string[] args)
    {
        base.Run(args);
    }

    public override void ConfigureServices(IServiceCollection services)
    {
        base.ConfigureServices(services);
        services.AddMicroBuilder(builder =>
        {
            builder
            .AddPack<SwaggerPack>()
            ;
        });
    }


    public override void Configure(WebApplication app)
    {
        base.Configure(app);
        app.UseMicro();
    }
}